/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Estructuras;

/**
 *
 * @author natalyablanco
 */
public class nodo {
   public Task_struct Pcb;
   public nodo Next;
   public nodo Prev;
   public  int tam;
      // Contructor de la Clase   
    public nodo(Task_struct pcb){
             this.Pcb = pcb;
             Next = null;
             Prev = null;
          }
    
    public nodo(Task_struct pcb, nodo prev, nodo next){
        this.Pcb = pcb;
        this.Prev = prev;
        this.Next = next;
    }
    
    public Task_struct getPcb(){
        return this.Pcb;
    }
    
    public nodo getNext(){
        return this.Next;
    }
    
    public nodo getPrev(){
        return this.Prev;
    }

  public void setNext(nodo Next) {
    this.Next = Next;
  }

  public void setPrev(nodo Prev) {
    this.Prev = Prev;
  }

            
}

  



